Umar ibn Hafs ibn Shuayb ibn Isa al Balluti, surnamed al-Ghaliz ("the Fat") and later al-Ikritishi ("the Cretan"),[1] and usually known as Abu Hafs (in Greek sources Ἀπόχαψις, Apohapsis), was a Muwallad corsair who was primarily active between 816 and 827. After an unsuccessful uprising in Cordova, Spain in 818 against Emir Al-Hakam I the city's Muladi Muslim inhabitants were exiled. Some settled in Fez (Morocco), while a second group, of almost 15,000 men plus women and children, headed for Alexandria in Egypt. With the intention of taking advantage of local unrest, the latter group of rebels selected Abu Hafs as their leader. As leader, Abu Hafs led the group which took control of Alexandria in 816.[2]
After being forced to leave Alexandria, the rebel group set for the Byzantine island of Crete. Upon arriving, they landed at Cape Charax in the gulf of Messara. From there the group headed north under the leadership of Abu Hafs.[3] Abu Hafs and his group of adventurers seized Crete from the Byzantine Empire over the next few years, repelled a number of Byzantine recovery attempts and established an autonomous emirate in the island.[4]